package com.rolerealm.service.strategy;

import com.rolerealm.domain.enums.SkillType;
import org.springframework.stereotype.Component;

@Component
public class QaSkillStrategy implements SkillStrategy {

	@Override
	public SkillType getType() {
		return SkillType.qa;
	}

	@Override
	public void validate(String input) {
		if (input == null || input.isBlank()) {
			throw new IllegalArgumentException("input cannot be blank");
		}
	}

	@Override
	public String buildPrompt(String input) {
		return "你是严谨的知识问答助手，请分点作答。问题：" + input;
	}






}


